
{%- liquid
  if section.settings.fontsize
    assign fontsize = section.settings.fontsize
  endif
  case fontsize
    when 'extra-large'
      assign headsize = 'display-4'
      assign bodysize = 'h4'
      assign mark = 'h2'
    when 'large'
      assign headsize = 'display-5'
      assign bodysize = 'h5'
      assign mark = 'h2'
    when 'medium'
      assign headsize = 'h1'
      assign bodysize = 'lead'
      assign mark = 'h3'
    when 'small'
      assign headsize = 'h2'
      assign bodysize = 'lead'
      assign mark = 'h4'
    when 'extra-small'
      assign headsize = 'h3'
      assign bodysize = ''
      assign mark = 'h5'
  endcase
-%}
